package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 司机对象 tb_driver
 * 
 * @author ruoyi
 * @date 2023-06-24
 */
public class TbDriverVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机ID */
    private Integer driverId;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String driverName;

    /** 司机电话 */
    @Excel(name = "司机电话")
    private String driverPhone;

    /** 司机工号 */
    @Excel(name = "司机工号")
    private String driverJob;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date driverCreateTime;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long driverAuditStatus;

    /** 接单状态 */
    @Excel(name = "接单状态")
    private Long driverOrderStatus;

    /** 禁闭状态 */
    @Excel(name = "禁闭状态")
    private Long driverConfineStatus;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date driverEndTime;

    /** 接单数量 */
    @Excel(name = "接单数量")
    private Long driverOddNum;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal driverMoney;

    /** 司机年龄 */
    @Excel(name = "司机年龄")
    private Long driverAge;

    /** 驾驶证 */
    @Excel(name = "驾驶证")
    private String driverLicence;

    /** 驾龄 */
    @Excel(name = "驾龄")
    private Long driverYears;

    /** 身份背景 */
    @Excel(name = "身份背景")
    private String driverBackground;

    /** 健康状况 */
    @Excel(name = "健康状况")
    private String driverPhysicalCondition;

    /** 司机评价 */
    @Excel(name = "司机评价")
    private Long driverEvaluate;

    public void setDriverId(Integer driverId)
    {
        this.driverId = driverId;
    }

    public Integer getDriverId()
    {
        return driverId;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setDriverPhone(String driverPhone) 
    {
        this.driverPhone = driverPhone;
    }

    public String getDriverPhone() 
    {
        return driverPhone;
    }
    public void setDriverJob(String driverJob) 
    {
        this.driverJob = driverJob;
    }

    public String getDriverJob() 
    {
        return driverJob;
    }
    public void setDriverCreateTime(Date driverCreateTime) 
    {
        this.driverCreateTime = driverCreateTime;
    }

    public Date getDriverCreateTime() 
    {
        return driverCreateTime;
    }
    public void setDriverAuditStatus(Long driverAuditStatus) 
    {
        this.driverAuditStatus = driverAuditStatus;
    }

    public Long getDriverAuditStatus() 
    {
        return driverAuditStatus;
    }
    public void setDriverOrderStatus(Long driverOrderStatus) 
    {
        this.driverOrderStatus = driverOrderStatus;
    }

    public Long getDriverOrderStatus() 
    {
        return driverOrderStatus;
    }
    public void setDriverConfineStatus(Long driverConfineStatus) 
    {
        this.driverConfineStatus = driverConfineStatus;
    }

    public Long getDriverConfineStatus() 
    {
        return driverConfineStatus;
    }
    public void setDriverEndTime(Date driverEndTime) 
    {
        this.driverEndTime = driverEndTime;
    }

    public Date getDriverEndTime() 
    {
        return driverEndTime;
    }
    public void setDriverOddNum(Long driverOddNum) 
    {
        this.driverOddNum = driverOddNum;
    }

    public Long getDriverOddNum() 
    {
        return driverOddNum;
    }
    public void setDriverMoney(BigDecimal driverMoney) 
    {
        this.driverMoney = driverMoney;
    }

    public BigDecimal getDriverMoney() 
    {
        return driverMoney;
    }
    public void setDriverAge(Long driverAge) 
    {
        this.driverAge = driverAge;
    }

    public Long getDriverAge() 
    {
        return driverAge;
    }
    public void setDriverLicence(String driverLicence) 
    {
        this.driverLicence = driverLicence;
    }

    public String getDriverLicence() 
    {
        return driverLicence;
    }
    public void setDriverYears(Long driverYears) 
    {
        this.driverYears = driverYears;
    }

    public Long getDriverYears() 
    {
        return driverYears;
    }
    public void setDriverBackground(String driverBackground) 
    {
        this.driverBackground = driverBackground;
    }

    public String getDriverBackground() 
    {
        return driverBackground;
    }
    public void setDriverPhysicalCondition(String driverPhysicalCondition) 
    {
        this.driverPhysicalCondition = driverPhysicalCondition;
    }

    public String getDriverPhysicalCondition() 
    {
        return driverPhysicalCondition;
    }
    public void setDriverEvaluate(Long driverEvaluate) 
    {
        this.driverEvaluate = driverEvaluate;
    }

    public Long getDriverEvaluate() 
    {
        return driverEvaluate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("driverId", getDriverId())
            .append("driverName", getDriverName())
            .append("driverPhone", getDriverPhone())
            .append("driverJob", getDriverJob())
            .append("driverCreateTime", getDriverCreateTime())
            .append("driverAuditStatus", getDriverAuditStatus())
            .append("driverOrderStatus", getDriverOrderStatus())
            .append("driverConfineStatus", getDriverConfineStatus())
            .append("driverEndTime", getDriverEndTime())
            .append("driverOddNum", getDriverOddNum())
            .append("driverMoney", getDriverMoney())
            .append("driverAge", getDriverAge())
            .append("driverLicence", getDriverLicence())
            .append("driverYears", getDriverYears())
            .append("driverBackground", getDriverBackground())
            .append("driverPhysicalCondition", getDriverPhysicalCondition())
            .append("driverEvaluate", getDriverEvaluate())
            .toString();
    }
}
